/* Copyright (c) 2010, David Kreuter. See LICENSE for more information */

#ifndef IN_HEADERS_H
#error This file should be included through "headers.h"
#endif

typedef struct _bmd{
	uint32 len; //remove this later
	mdl *m;
	tex *t;
}bmd;

bmd *read_bmd(uint8 *, uint32);
int write_bmd(bmd *, uint8 *, uint32);
void free_bmd(bmd *);
uint32 size_bmd(bmd *);
